﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HR_Info_Add.aspx.cs" Inherits="UDS.SubModule.HR.HR_Info_Add" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>增加档案</title>
<link href="../../Css/BasicLayout.css" type="text/css" rel="stylesheet"/>
<script language="JavaScript" type="text/javascript" src="../../Commons//DatePicker/WdatePicker.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
            <table id="Table2" bordercolor="#111111" height="1" cellspacing="0" cellpadding="0"
                width="100%" border="0">
                <tr height="30">
                    <td class="GbText" width="3%" background="../../Images/treetopbg.jpg" bgcolor="#c0d9e6">
                        <font color="#003366" size="3">
                            <img alt="" src="../../DataImages/ClientManage.gif"></font></td>
                    <td class="GbText" background="../../Images/treetopbg.jpg" bgcolor="#c0d9e6">
                        <b><b><b><font face="宋体">增加档案</font></b></b></b></td>
                    <td class="GbText" align="right" background="../../Images/treetopbg.jpg" bgcolor="#c0d9e6">
                    </td>
                </tr>
            </table>
            <table class="gbtext" id="AutoNumber1" style="border-collapse: collapse" bordercolor="#93bee2"
                cellspacing="0" cellpadding="0" width="100%" border="1" runat="server">                
                <tr>
                    <td align="right" width="20%" style="height: 25px">
                        员工号:</td>
                    <td style="height: 25px"><asp:DropDownList ID="ddlStaffList" runat="server">
                  </asp:DropDownList></td>
                </tr>
                <tr bgcolor="#e8f4ff">
                    <td align="right" width="20%" style="height: 30px">
                        员工姓名:</td>
                    <td style="height: 30px"><asp:TextBox ID="txtHR_Name" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_Name" runat="server"
                            ControlToValidate="txtHR_Name" ErrorMessage="请输入员工姓名"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="right" style="height: 30px" width="20%">
                        职务/岗位
                    </td>
                    <td style="height: 30px">
                        <asp:TextBox ID="txtHR_Postion" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_HR_Postion" runat="server"
                            ControlToValidate="txtHR_Postion" ErrorMessage="请输入职务/岗位"></asp:RequiredFieldValidator></td>
                </tr>
                 <tr >
                    <td align="right" width="20%" height="30">
                        性别:</td>
                    <td height="30">
                        <asp:DropDownList ID="ddlHR_Sex" runat="server">
                            <asp:ListItem Selected="True">男</asp:ListItem>
                            <asp:ListItem>女</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr bgcolor="#e8f4ff">
                    <td style="height: 34px" align="right" width="20%">
                        民族:</td>
                    <td style="height: 34px">
                        <asp:TextBox ID="txtHR_National" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_National" runat="server"
                            ErrorMessage="请输入民族" ControlToValidate="txtHR_National"></asp:RequiredFieldValidator></td>
                </tr>
                <tr >
                    <td align="right" style="height: 34px" width="20%">
                        籍贯:</td>
                    <td style="height: 34px">
                        <asp:TextBox ID="txtHR_Origin" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_Origin" runat="server"
                            ControlToValidate="txtHR_Origin" ErrorMessage="请填写籍贯"></asp:RequiredFieldValidator></td>
                </tr>
                <tr bgcolor="#e8f4ff">
                    <td align="right" height="34" style="height: 34px" width="20%">
                        出生年月:</td>
                    <td height="34" style="height: 34px">
                        <asp:TextBox ID="txtHR_Birthday" runat="server" CssClass="Wdate" onFocus="WdatePicker({ })"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_Birthday" runat="server"
                            ControlToValidate="txtHR_Birthday" ErrorMessage="请选择出生年月"></asp:RequiredFieldValidator></td>
                </tr>
                <tr >
                    <td align="right" style="height: 34px" width="20%">
                        文化程度:</td>
                    <td style="height: 34px">
                        <asp:TextBox ID="txtHR_Education" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_Education" runat="server"
                            ControlToValidate="txtHR_Education" ErrorMessage="请填写文化程度"></asp:RequiredFieldValidator></td>
                </tr>
                <tr bgcolor="#e8f4ff">
                    <td align="right" height="34" style="height: 34px" width="20%">
                        毕业院校:</td>
                    <td height="34" style="height: 34px">
                        <asp:TextBox ID="txtHR_Graduate" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_Graduate" runat="server"
                            ControlToValidate="txtHR_Graduate" ErrorMessage="请填写毕业院校"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="right" style="height: 34px" width="20%">
                        专业:</td>
                    <td style="height: 34px">
                        <asp:TextBox ID="txtHR_Subject" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_Subject" runat="server"
                            ControlToValidate="txtHR_Subject" ErrorMessage="请填写专业"></asp:RequiredFieldValidator></td>
                </tr >
                <tr bgcolor="#e8f4ff">
                    <td align="right" height="34" style="height: 34px" width="20%">
                        职称:</td>
                    <td height="34" style="height: 34px">
                        <asp:TextBox ID="txtHR_Title" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_Title" runat="server"
                            ControlToValidate="txtHR_Title" ErrorMessage="请填写职称"></asp:RequiredFieldValidator></td>
                </tr >
                <tr>
                    <td align="right" style="height: 34px" width="20%">
                        职业资格:</td>
                    <td style="height: 34px">
                        <asp:TextBox ID="txtHR_ProQua" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_ProQua" runat="server"
                            ControlToValidate="txtHR_ProQua" ErrorMessage="请填写职业资格"></asp:RequiredFieldValidator></td>
                </tr>
                <tr bgcolor="#e8f4ff">
                    <td align="right" style="height: 34px" width="20%">
                        工作年限:</td>
                    <td style="height: 34px">
                        <asp:TextBox ID="txtHR_WorkExp" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_WorkExp" runat="server"
                            ControlToValidate="txtHR_WorkExp" ErrorMessage="请填写工作年限"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="right" style="height: 34px" width="20%">
                        从事医药年限:</td>
                    <td style="height: 34px">
                        <asp:TextBox ID="txtHR_WorkExp2" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_WorkExp2" runat="server"
                            ControlToValidate="txtHR_WorkExp2" ErrorMessage="请填写工作年限"></asp:RequiredFieldValidator></td>
                </tr>
                <tr bgcolor="#e8f4ff">
                    <td align="right" height="34" style="height: 34px" width="20%">
                        联系地址/住址:</td>
                    <td height="34" style="height: 34px">
                        <asp:TextBox ID="txtHR_Address" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_Address" runat="server"
                            ControlToValidate="txtHR_Address" ErrorMessage="请填写联系地址"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="right" height="34" style="height: 34px" width="20%">
                        联系电话:</td>
                    <td height="34" style="height: 34px">
                        <asp:TextBox ID="txtHR_Tel" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_Tel" runat="server"
                            ControlToValidate="txtHR_Tel" ErrorMessage="请填写联系电话"></asp:RequiredFieldValidator></td>
                </tr>
                <tr bgcolor="#e8f4ff">
                    <td align="right" height="34" style="height: 34px" width="20%">
                        身份证号码:</td>
                    <td height="34" style="height: 34px">
                        <asp:TextBox ID="txtHR_CardNo" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_CardNo" runat="server"
                            ControlToValidate="txtHR_CardNo" ErrorMessage="请填写身份证号码"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="right" height="34" style="height: 34px" width="20%">
                        入职时间:</td>
                    <td height="34" style="height: 34px">
                        <asp:TextBox ID="txtHR_EntryTime" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_EntryTime" runat="server"
                            ControlToValidate="txtHR_EntryTime" ErrorMessage="请填写入职时间"></asp:RequiredFieldValidator></td>
                </tr >
                <tr bgcolor="#e8f4ff">
                    <td align="right" height="34" style="height: 34px" width="20%">
                        合同期限:</td>
                    <td height="34" style="height: 34px">
                        <asp:TextBox ID="txtHR_ContPeriod" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_ContPeriod" runat="server"
                            ControlToValidate="txtHR_ContPeriod" ErrorMessage="请填写合同期限"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="right" style="height: 34px" width="20%">
                        转正时间:</td>
                    <td style="height: 34px">
                        <asp:TextBox ID="txtHR_PositiveTime" runat="server" CssClass="Wdate" onFocus="WdatePicker({ })"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_PositiveTime" runat="server"
                            ControlToValidate="txtHR_PositiveTime" ErrorMessage="请填写转正时间"></asp:RequiredFieldValidator></td>
                </tr>
                <tr bgcolor="#e8f4ff">
                    <td align="right" style="height: 34px" width="20%">
                        离职时间:</td>
                    <td style="height: 34px">
                        <asp:TextBox ID="txtHR_DepartureTime" runat="server" CssClass="Wdate" onFocus="WdatePicker({ })"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_DepartureTime" runat="server"
                            ControlToValidate="txtHR_DepartureTime" ErrorMessage="请填写离职时间"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="right" style="height: 34px" width="20%">
                        公司工龄:</td>
                    <td style="height: 34px">
                        <asp:TextBox ID="txtHR_WorkYear" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_WorkYear" runat="server"
                            ControlToValidate="txtHR_WorkYear" ErrorMessage="请填写公司龄"></asp:RequiredFieldValidator></td>
                </tr>
                <tr bgcolor="#e8f4ff">
                    <td align="right" style="height: 34px" width="20%">
                        发健康证时间:</td>
                    <td style="height: 34px">
                        <asp:TextBox ID="txtHR_HealthCard" runat="server" CssClass="Wdate" onFocus="WdatePicker({ })"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_HealthCard" runat="server"
                            ControlToValidate="txtHR_HealthCard" ErrorMessage="请填写健康证时间"></asp:RequiredFieldValidator></td>
                </tr>
                <tr >
                    <td align="right" style="height: 34px" width="20%">
                        合同到期时间:</td>
                    <td style="height: 34px">
                        <asp:TextBox ID="txtHR_ContTime" runat="server" CssClass="Wdate" onFocus="WdatePicker({ })"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_ContTime" runat="server"
                            ControlToValidate="txtHR_ContTime" ErrorMessage="请填写合同到期时间"></asp:RequiredFieldValidator></td>
                </tr>
                <tr bgcolor="#e8f4ff">
                    <td align="right" height="34" style="height: 34px" width="20%">
                        试用期到期时间:</td>
                    <td height="34" style="height: 34px">
                        <asp:TextBox ID="txtHR_ContTime2" runat="server" CssClass="Wdate" onFocus="WdatePicker({ })"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator_txtHR_ContTime2" runat="server"
                            ControlToValidate="txtHR_ContTime2" ErrorMessage="请填写试用期到期时间"></asp:RequiredFieldValidator></td>
                </tr>
                <tr >
                    <td align="right" height="34" style="height: 34px" width="20%">
                    </td>
                    <td height="34" style="height: 34px">
                        &nbsp;<asp:Button ID="btnAdd" runat="server" Text="增加" OnClick="btnAdd_Click" />
                        <asp:Button ID="btnBack" runat="server" Text="返回" />&nbsp;
                    </td>
                </tr>
                </table>
              
    </div>
        
    </form>
</body>
</html>
